home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2001 December / pcwk12201b.iso / Wersje pelne i specjalne / Ghostscript 7.0 / gs700w32.exe / gs7.00 / lib / pfbtopfa < prev    next >
Text File  |  2000-04-12  |  341b  |  17 lines

  1. #!/bin/sh
  2. # $Id: pfbtopfa,v 1.2 2000/04/12 17:41:41 lpd Exp $
  3. # Convert .pfb fonts to .pfa format
  4.  
  5. if [ $# -eq 2 ] 
  6. then
  7.     outfile=$2
  8. elif [ $# -eq 1 ]
  9. then
  10.     outfile=`basename $1 \.pfb`.pfa
  11. else
  12.     echo "Usage: `basename $0` input.pfb [output.pfa]" 1>&2
  13.     exit 1
  14. fi
  15.  
  16. exec gs -q -dNODISPLAY -- pfbtopfa.ps $1 $outfile
  17.